﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace ConceptCorporateAdmin
{
    public class DbTipuriEntitati
    {
        public static DbTipuriEntitati Instance = new DbTipuriEntitati();

        private DataTable table;

        private DbTipuriEntitati()
        {
            RefreshTable();
        }

        public void RefreshTable()
        {
            table = DbConnection.Instance.Query("SELECT * FROM \"tipuri_entitati\"");
        }

        public DataTable Table
        {
            get
            {
                return table;
            }
        }
    }
}
